package tx.yt.charge.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by zhangjun on 2015/1/14.
 */
@Controller
public class MainController {
    @RequestMapping(value = "/mainBs", method = RequestMethod.GET)
    public String viewMainBs() {
        return "mainBs";
    }

    @RequestMapping(value = "/main", method = RequestMethod.GET)
    public String viewMain() {
        return "main";
    }

    @RequestMapping(value = "/top", method = RequestMethod.GET)
    public String viewTop() {
        System.out.println("CCCCCCCCCCCCC");
        return "top";
    }

    @RequestMapping(value = "/centerBs", method = RequestMethod.GET)
    public String viewCenterBs() {
        return "centerBs";
    }

    @RequestMapping(value = "/leftBs", method = RequestMethod.GET)
    public String viewLeftBs() {
        return "leftBs";
    }

    @RequestMapping(value = "/listAccounts", method = RequestMethod.GET)
    public String viewListAccounts() {
        return "back/listAccounts";
    }

    @RequestMapping(value = "/authority", method = RequestMethod.GET)
    public String viewAuthority() {
        return "back/authority";
    }

    @RequestMapping(value = "/organization", method = RequestMethod.GET)
    public String viewOrganization() {
        return "back/organization";
    }

    @RequestMapping(value = "/account", method = RequestMethod.GET)
    public String viewAccount() {
        return "back/account";
    }

    @RequestMapping(value = "/down", method = RequestMethod.GET)
    public String viewDown() {
        return "down";
    }

    @RequestMapping(value = "/center", method = RequestMethod.GET)
    public String viewCenter() {
        return "center";
    }

    @RequestMapping(value = "/left", method = RequestMethod.GET)
    public String viewLeft() {
        return "left";
    }

    @RequestMapping(value = "/orderDetail", method = RequestMethod.GET)
    public String viewOrderDetail() {
        return "front/orderDetail";
    }

    @RequestMapping(value = "/orderStat", method = RequestMethod.GET)
    public String viewOrderStat() {
        return "front/orderStat";
    }

    @RequestMapping(value = "/queryStat", method = RequestMethod.GET)
    public String viewQueryStat() {
        return "front/queryStat";
    }

    @RequestMapping(value = "/qualityDist", method = RequestMethod.GET)
    public String viewQualityDist() {
        return "front/qualityDist";
    }

    @RequestMapping(value = "/profitDist", method = RequestMethod.GET)
    public String viewProfitDist() {
        return "front/profitDist";
    }

    @RequestMapping(value = "/freightDist", method = RequestMethod.GET)
    public String viewFreightDist() {
        return "front/freightDist";
    }

    @RequestMapping(value = "/provinceInDist", method = RequestMethod.GET)
    public String viewProvinceInDist() {
        return "front/provinceInDist";
    }

    @RequestMapping(value = "/provinceOutDist", method = RequestMethod.GET)
    public String viewProvinceOutDist() {
        return "front/provinceOutDist";
    }

    @RequestMapping(value = "/goodsForm", method = RequestMethod.GET)
    public String viewGoodsForm() {
        return "front/goodsForm";
    }

    @RequestMapping(value = "/addOrder", method = RequestMethod.GET)
    public String viewAddOrder() {
        return "front/addOrder";
    }

    @RequestMapping(value = "/basicAccount", method = RequestMethod.GET)
    public String viewBasicAccount() {
        return "front/basicAccount";
    }

    @RequestMapping(value = "/modifyPass", method = RequestMethod.GET)
    public String viewModifyPass() {
        return "front/modifyPass";
    }

    @RequestMapping(value = "/welcome", method = RequestMethod.GET)
    public String viewWelcome() {
        return "welcome";
    }
}